<div class="col-sm-12">
  <!-- BOX -->
  <div class="box">
    <div class="box-body">
      <div id="datatable1_wrapper" class="dataTables_wrapper form-inline" role="grid">
      	<div class="row">
          <div class="col-sm-9">
        	  <!--搜索-->
            <div class="col-sm-5 nopadding-left">
        	    <div class="input-group">
            		{{input class="form-control" type="text" placeholder="搜索姓名/房间/床位号" value=queryCondition enter="search"}}
      	        <span class="input-group-btn">
        		      <button class="btn btn-primary btn-reduce" type="button" style="touch-action: manipulation; -ms-touch-action: manipulation;" {{action "search" on="click"}}>
                    <i class="fa fa-search"></i>
                  </button>
      	        </span>
        	    </div>
        	  </div>
        	  <!--搜索-->
          </div>
      	</div>
        <table id="datatable1" cellpadding="0" cellspacing="0" border="0" class="datatable table table-bordered table-hover dataTable" aria-describedby="datatable1_info">
          <thead>
            <tr role="row">
              <th rowspan="1" colspan="1" width="">姓名</th>
              <th rowspan="1" colspan="1" width="">房间床位号</th>
              <th rowspan="1" colspan="1" width="">账户余额</th>
              <th rowspan="1" colspan="1" width="">保证金余额</th>
              <th rowspan="1" colspan="1" width="">收费标准</th>
            </tr>
          </thead>
          {{#if customerList}}
          <tbody role="alert" aria-live="polite" aria-relevant="all" class="">
            {{#each customerList as |customer|}}
            <tr {{action "toDetailPage" customer on="click"}}>
              <td class="ellipsis" >{{customer.name}}</td>
              <td class="ellipsis" >{{customer.bed.allBedName}}</td>
              <td class="ellipsis" >{{customer.accountMoney}}元</td>
              <td class="ellipsis" >{{customer.actualDeposit}}元</td>
              <td class="ellipsis" >
                {{customer.actualPrice}}
                {{#if (eq customer.chargeType.typecode "chargeTypeY")}}
                (元/月)
                {{else}}
                (元/天)
                {{/if}}
              </td>
            </tr>
            {{/each}}
          </tbody>
          {{else}}
          {{/if}}
        </table>
        {{#if customerList }}
            {{page-numbers content=customerList showFL=true numPagesToShow=5}}
        {{else}}
                <h1 class="col-sm-12 center unTask"></h1>
        {{/if}}
      </div>
    </div>
  </div>
  <!-- /BOX -->
</div>
